<!--{template common/header}-->
<!--{if empty($_G['gp_infloat'])}-->
<div id="ct" class="wp cl">
	<div class="mn">
		<div class="bm bw0">
<!--{/if}-->
<style>
.callme {
	display:block;width:48%;float:left;
}
</style>
<script type="text/javascript" reload="1">
function cmtest(){
	var msg = document.getElementById('keywords').value;
	msg = msg.replace(/\'/g,"");
	msg = msg.replace(/\"/g,"");
	document.getElementById('keywords').value = msg;
	if(msg){
		document.getElementById("callmesubmit").click();
		$('callmesubmit').disabled="disabled";
	}
}

function unlock(){
  $('callmesubmit').disabled="";
}
setInterval("unlock()", 1000);
</script>

<form id="sform" action="plugin.php?id=dsu_amucallme:js&sreach=1&callmesubmit=true&ajax=1&inajax=1{if !empty($_G['gp_adds'])}&adds={$_G[gp_adds]}{/if}" autocomplete="off" method="post" onsubmit="ajaxpost('sform', 'gets');">
<input type="hidden" name="referer" value="$_G[referer]">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<!--{if $_G[inajax]}--><input type="hidden" name="handlekey" value="$_G[gp_handlekey]" /><!--{/if}-->
	<div class="f_c">
		<h3 class="flb">
			<em id="return_$_G['gp_handlekey']">{lang dsu_amucallme:cm}</em>
			<span>
				<!--{if !empty($_G['gp_infloat'])}--><a href="javascript:;" class="flbc" onclick="hideWindow('$_G['gp_handlekey']')" title="{lang close}">{lang close}</a><!--{/if}-->
			</span>
		</h3>
		<div class="c" style="width: 340px">
		$costshow
			<div class="p_opt mpx pns cl">

				<!--{if $u}-->
				<div style="float:left; width:100%;"><B>{lang dsu_amucallme:u}</B></div>
				<!--{/if}-->

				<!--{if $adds == 'fastpostmessage'}-->
				{loop $lists $i $value}
				<!--{if $value}-->
				<span style="display:block;width:48%;float:left;"><A href="javascript:;" style="color:#3300FF1;" onclick="$('fastpostmessage').value += '[@]$value[/@] ';$('fastpostmessage').focus();hideWindow('dsu_amucallme_add');">$value</A></span>
				<!--{/if}-->
				{/loop}
				<!--{else}-->
				{loop $lists $i $value}
				<!--{if $value}-->
				<span style="display:block;width:48%;float:left;"><A href="javascript:;" style="color:#3300FF1;" onclick="insertText('[@]$value[/@] ', 34, 0);hideWindow('dsu_amucallme_add');">$value</A></span>
				<!--{/if}-->
				{/loop}
				<!--{/if}-->
				<!--{if $authorlz}-->
					<!--{if $adds == 'fastpostmessage'}-->					
					<span style="display:block;width:48%;float:left;"><A href="javascript:;" style="color:#3300FF1;" onclick="$('fastpostmessage').value += '[@]$authorlz[/@]';$('fastpostmessage').focus();hideWindow('dsu_amucallme_add');">$authorlz{lang dsu_amucallme:lz}</A></span>					
					<!--{else}-->
					<span style="display:block;width:48%;float:left;"><A href="javascript:;" style="color:#3300FF1;" onclick="insertText('[@]$authorlz[/@] ', 34, 0);hideWindow('dsu_amucallme_add');">$authorlz{lang dsu_amucallme:lz}</A></span>
					<!--{/if}-->
				<!--{/if}-->


				<!--{if $friends}--><div style="float: left; width: 100%;"><B>{lang dsu_amucallme:f}</B></div><!--{/if}-->
				<!--{if $adds == 'fastpostmessage'}-->
				{loop $friends $i $value}
				<!--{if $value}-->
				<span style="display:block;width:48%;float:left;"><A href="javascript:;" style="color:#3300FF1;" onclick="$('fastpostmessage').value += '[@]$value[/@] ';$('fastpostmessage').focus();hideWindow('dsu_amucallme_add');">$value</A></span>
				<!--{/if}-->
				{/loop}
				<!--{else}-->
				{loop $friends $i $value}
				<!--{if $value}-->
				<span style="display:block;width:48%;float:left;"><A href="javascript:;" style="color:#3300FF1;" onclick="insertText('[@]$value[/@] ', 34, 0);hideWindow('dsu_amucallme_add');">$value</A></span>
				<!--{/if}-->
				{/loop}
				<!--{/if}-->


				<!--{if $groups}--><div style="float: left; width: 100%;"><B>{lang dsu_amucallme:g}</B></div><!--{/if}-->
				<!--{if $adds == 'fastpostmessage'}-->
				{loop $groups $i $value}
				<!--{if $value}-->
				<span style="display:block;width:48%;float:left;"><A href="javascript:;" style="color:#3300FF1;" onclick="$('fastpostmessage').value += '[@=group]$value[groupid][/@] ';$('fastpostmessage').focus();hideWindow('dsu_amucallme_add');">$value[grouptitle]</A></span>
				<!--{/if}-->
				{/loop}
				<!--{else}-->
				{loop $groups $i $value}
				<!--{if $value}-->
				<span style="display:block;width:48%;float:left;"><A href="javascript:;" style="color:#3300FF1;" onclick="insertText('[@=group]$value[groupid][/@] ', 34, 0);hideWindow('dsu_amucallme_add');">$value[grouptitle]</A></span>
				<!--{/if}-->
				{/loop}
				<!--{/if}-->
				<div id="gets"></div>
			</div>
		</div>
	</div>
	<div class="o pns cl{if empty($_G['gp_infloat'])} mtm{/if}">
		<span class="z"> <strong>{lang dsu_amucallme:ss} : </strong><input type="text" name="keywords" id="keywords" style="width: 100px" value="" class="px" onKeyUp ="cmtest();"> </span>
		<button type="submit" id="callmesubmit" class="pn pnc y" value="true" name="callmesubmit" ><span>{lang dsu_amucallme:sb}</span></button>
	</div>
</form>

<!--{if empty($_G['gp_infloat'])}-->
		</div>
	</div>
</div>
<!--{/if}-->
<!--{template common/footer}-->